package fun.hijklmn.magic.resource.common.enums;

/**
 * @Description
 * @Author fs
 * @Date 2021/5/25 16:17
 * @Version 0.0.1-SNAPSHOT
 **/
public enum FileCatalogEnum {

    PNG(1, "png", FileTypeEnum.IMAGE),
    JPG(2, "jpg", FileTypeEnum.IMAGE),
    JPEG(3, "jpeg", FileTypeEnum.IMAGE),

    ;

    FileCatalogEnum(Integer code, String type, FileTypeEnum fileTypeEnum) {
        this.code = code;
        this.type = type;
        this.fileTypeEnum = fileTypeEnum;
    }

    public String type() {
        return this.type;
    }

    private Integer code;

    private String type;

    private FileTypeEnum fileTypeEnum;

}
